package com.bestcem.xm.txtanls.entity.pojo;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 项目DO
 *
 * @author jy.zhao
 * @version 1.0
 * @date 2021/9/28 11:05
 **/
@Data
public class ProjectDO {


    private String id;

    private String userId;
    /**
     * 创建用户Id
     */
    private String creator;

    /**
     * 项目名称
     */
    private String name;

    /**
     * 组织id
     */
    private String orgId;

    /**
     * 文本分析项目状态
     *
     * @see com.bestcem.xm.txtanls.enums.AnalysisStatusEnum
     */
    private Integer status;

    /**
     * 问卷id
     */
    private String surveyId;

    /**
     * 数据源表id
     */
    private String tableId;

    /**
     * 数据源表名
     */
    private String tableName;

    /**
     * 训练字段信息
     */
    private List<ProjectFieldDO> textFieldList;

    /**
     * 时间字段id
     */
    private String timeFieldId;

    /**
     * 时间字段名字
     */
    private String timeFieldName;

    /**
     * 训练状态
     *
     * @see com.bestcem.xm.txtanls.enums.TrainStatusEnum
     */
    private Integer trainStatus;

    /**
     * 训练进度, 剩余的条数
     */
    private Integer trainProgress;

    private Integer recordFlag = 1;

    private Date createdDate;

    private String createdId;

    private Date updatedDate;

    private String updatedId;

    /**
     * 是否是示例数据
     */
    private Boolean sample;

    private String modelId;

}
